Attempt to solve #3366, regarding spurious shared library search paths.
authorPeter Williams <peter@newton.cx>
Sun, 5 Feb 2017 21:15:24 +0000 (16:15 -0500)
committerPeter Williams <peter@newton.cx>
Sun, 5 Feb 2017 22:21:15 +0000 (17:21 -0500)
commitff68a27617c1683c6dd19ddc6669600311b940f2
tree934c1ca30fe9aff561380bcc041f6a5fa9ecfff4
parentd71022200293391fa4fbeb32fb943b840ab5abed
Attempt to solve #3366, regarding spurious shared library search paths.

This drops `native_dirs` entries that are not within the target directory when
modifying the (DY)LD_LIBRARY_PATH environment variable before running
programs.
src/cargo/ops/cargo_rustc/compilation.rs